<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>	
<%@ include file="/pub/front_headmeta.jsp" %>
</head>
<body>
	<div class="top">
		<div class="top-back"><input name="返回" type="button" class="back-botton-left" value="返回" onclick="back();"/></div>
		<div class="top-word">最新上传短信</div>
		<div class="top-bottom-right"></div>
	</div>

<div class="middle">
	<c:forEach items="${data}" var="o" varStatus="status">
		<div class="h-messages-1">
		<div class="messages-bgr">
		<span class="b-font-1">${status.index+1}</span>
		<span class="b-font-2">${o.content}</span></div>
		<div class="sent-botton"><input name="sent" type="button" class="botton-3" value="选择发送群" onclick="viewPhoneGroup('${o.msgId}');"/></div>
		</div>
	</c:forEach>
</div>
</body>
</html>	
<script type="text/javascript">
<!--
//选择发送群
function viewPhoneGroup(id){
	location.href="${ctx}/phoneGroup!viewFrontGroup.action?batchId=${batchId}&msgId="+id;
}
//返回
function back(){
	location.href="${ctx}/msgGroup!viewFrontMsgGroup.action";
}
//-->
</script>